import {request} from "./request";

// 开票记录
export const invoiceRecord = (data:any) => request({
    url:'/receipt/record/list',
    data
})
// 开票详情
export const invoiceDetail = (data) => request({
    url:'/receipt/record/detail',
    data
})
// 取消开票
export const cancelIinvoice = (data) => request({
    url:'/receipt/cancel',
    data
})
// 可开票列表
export const receiptIinvoiceList = (data) => request({
    url:'/receipt/bill/list',
    data
})
// 发票抬头详情
export const invoiceHeadDetail = (data) => request({
    url:'/receipt/title/detail',
    data
})
// 开票创建
export const createInvoice = (data) => request({
    url:'/receipt/invoicing/create',
    data
})